<?php include admintpl('header');?>
<div class="edit">
<form action="" method="post">
<?php
foreach ($edit as $a => $b) {
switch ($a){
	case 'uid' :
		$t = '<a href="admin.php?mod=user&amp;act=show&amp;uid='.$edit['uid'].'">查看用户</a>';
		break;
	case 'touid' :
		$t = '<a href="admin.php?mod=user&amp;act=show&amp;uid='.$edit['touid'].'">查看用户</a>';
		break;
	case 'changjing' :
		$t = $duihua->showchangjing($edit['changjing']);
		break;
	case 'juese' :
		$t = $duihua->showjuese($edit['juese']);
		break;
	case 'time' :
		$t = date ("Y-m-d H:i:s" ,$b);
		break;
	default :
		$t = '';
		break;
}
?>
	<div>
		<span><?php echo $a?></span>
		<input type="text" name="data[<?php echo $a?>]" value="<?php echo $b?>" /> <?php echo $t;?>
	</div>
<?php
}?>
	<div>
		<input type="submit" name="submit" value=" 提交 " />
	</div>
</form>

</div>
<?php include admintpl('footer');?>